
#pragma once

//#define _ATL_XP_TARGETING // <-- defined in the makefiles

#include "targetver.h"


#if defined ( WINDOWSSYSLOG_USE_CSTDLIB )
#define WINDOWSSYSLOG_USE_CSTDLIB_FILE
#define WINDOWSSYSLOG_USE_CSTDLIB_PRINT
#define WINDOWSSYSLOG_USE_CSTDLIB_STRING
#endif

#define WINDOWSSYSLOG_USE_CSTDLIB_PRINT

#if defined ( WINDOWSSYSLOG_USE_CSTDLIB_FILE ) || defined ( WINDOWSSYSLOG_USE_CSTDLIB_PRINT )
#include <stdio.h>
#endif
#if defined ( WINDOWSSYSLOG_USE_CSTDLIB_FILE )
#include <Share.h>
#endif
#include <tchar.h>


#define _WINSOCK_DEPRECATED_NO_WARNINGS
#include <WinSock2.h>
#pragma comment(lib, "WS2_32.lib")


//#define NO_WINDOWSSYSLOG_DEBUG

#if defined ( _DEBUG ) && ! defined( NO_WINDOWSSYSLOG_DEBUG )
#define WINDOWSSYSLOG_DEBUG
#endif

#if defined ( WINDOWSSYSLOG_DEBUG )
#define WSL_DBG_STREAM stdout
#define WSL_DBG_PREFIX _T( " DEBUG: " )
#endif


#define WINDOWSSYSLOG_VERSION_STRING "Windows SysLog version 0.15h (2015-09-28)"

#define WINDOWSSYSLOG_REGEX_SIZE 128


#include "syslog_util.h"
#include "syslog_params.h"

